﻿# coding: utf-8
import wx

class wxSplashScreen (wx.SplashScreen):
    def __init__(self):
        bmp = wx.Image("Resource/splash_screen.jpg").ConvertToBitmap()
        
        wx.SplashScreen.__init__(self, bmp,
                                 wx.SPLASH_CENTRE_ON_SCREEN|wx.SPLASH_TIMEOUT,
                                 2000, None, -1)
                                 
            
class wxSplashScreenApp(wx.PySimpleApp):
    def OnInit(self):
        splash = wxSplashScreen()
        splash.Show()
        return True 